package com.sgj.springcloud.alibaba.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @author 沈国纪
 * @date 2021/6/5 23:21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Storage {

	private Long id;

	/**
	 * 产品id
	 */
	private Long productId;

	/**
	 * 总库存
	 */
	private Integer total;


	/**
	 * 已用库存
	 */
	private Integer used;


	/**
	 * 剩余库存
	 */
	private Integer residue;
}